/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "骑行用户表",TableName = "customer_user")]
[Table("customer_user")]
    public partial class CustomerUser:BaseEntity
    {
        /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? create_time { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="customer_user_id")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long customer_user_id { get; set; }

       /// <summary>
       ///昵称
       /// </summary>
       [Display(Name ="昵称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string nickname { get; set; }

       /// <summary>
       ///微信用户openid
       /// </summary>
       [Display(Name ="微信用户openid")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string openid { get; set; }

       /// <summary>
       ///头像
       /// </summary>
       [Display(Name ="头像")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string picture { get; set; }

       /// <summary>
       ///电话
       /// </summary>
       [Display(Name ="电话")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string telephone { get; set; }

       /// <summary>
       ///0 正常 1违规
       /// </summary>
       [Display(Name ="0 正常 1违规")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int status { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? modified_time { get; set; }

       /// <summary>
       ///用户在开放平台的唯一标识符
       /// </summary>
       [Display(Name ="用户在开放平台的唯一标识符")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string unionid { get; set; }

       
    }
}